<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>${content.pageTitle!"Inspector Time:  Online Home Inspection Scheduling and Management"}</title>
    <meta name="description" content="Your online resource for scheduling and managing your home inspections" />
    <meta name="keywords" content="Home Inspection, Inspection, Inspector, Home Inspector, Real Estate Agent, Realtor, Buyer, Home Buyer, Seller, Home Seller,  Real Estate, House Sale, Home Sale, Quote, Scheduling, Schedule, Book, Appraisal, Contract, Property, Mold Inspection, Termite Inspection, Radon" />
    <link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/css/main.css" />
    <link rel="stylesheet" type="text/css"  media="print" href="${springMacroRequestContext.contextPath}/css/main-print.css" />
    <link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/css/wizard.css" />
    <link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/css/databox.css" />
    <link rel="stylesheet" type="text/css"  media="print" href="${springMacroRequestContext.contextPath}/css/databox-print.css" />
	<link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/css/leftNav.css" />    
    ${head}
  </head>
<body>

<#-- begin copy from default/top.ftl -->
<#---
  This page should really be upgraded to use html 4-compliant standards.  
  I've had to add hacks like display:block in every image to support the proper DOCTYPE... 
--->

	<style>
	
		#container {
			background-color: white; 
			width: 775px; 
			padding: 10px;
			border-style: solid; 
			border-width: 10px; 
			border-color: #004071; 
			margin: 0 auto;  /*centers div in the browser */
			text-align: left; /* to counteract the pre-IE6 hack in the body style */
		}
		
		#headerContainer {
			width: 775px;
		}
		
	</style>
	
	<!-- Hides the interface images and borders for printers -->
	<style style="text/css" media="print">
	
		#container {
			border: none;
		}
		
		.defaultInterfaceBorder {
			display: none;
		}
		
		#defaultInterfaceRoof {
			display: none;
		}	
		
		#headerContainer {
			display: none;
		}
		
		.leftNav {
			display: none;
		}
		
	</style>

	<!--  Outer blue border -->
	<div id="container">
	
		<div id="headerContainer">
			<a href="${springMacroRequestContext.contextPath}/index.html"><img src="${springMacroRequestContext.contextPath}/images/interface/header.gif" style="float:left; border: 0px" alt="Inspector Time" /></a>
			<img src="${springMacroRequestContext.contextPath}/images/testimonial.jpg" style="float:right; display: block; margin-right: 12px" alt="Testimonial"/>
			<br style="clear:both" />
		</div>
		
		<!--  Begin two-line border table -->
		<table width="775" cellpadding="0" cellspacing="0" border="0">
			<tr class="defaultInterfaceBorder">
				<td width="10"><img src="${springMacroRequestContext.contextPath}/images/interface/corner-topLft.gif" style="display: block;"></td>
				<td width="155" background="${springMacroRequestContext.contextPath}/images/interface/bg-border-top.gif"></td>
				<td width="7"><img src="${springMacroRequestContext.contextPath}/images/interface/corner-topMiddle.gif" style="display: block;"></td>
				<td width="593" background="${springMacroRequestContext.contextPath}/images/interface/bg-border-top.gif"></td>
				<td width="10"><img src="${springMacroRequestContext.contextPath}/images/interface/corner-topRt.gif" style="display: block;"></td>
			</tr>
			<tr>
				<td background="${springMacroRequestContext.contextPath}/images/interface/bg-border-lft.gif" rowspan="2" class="defaultInterfaceBorder"></td>
				<td class="leftNav" valign="top" rowspan="2">
					<!--  Left Nav -->
					<div class="leftNavHeader" style="margin-top: 20px;"><a href="${springMacroRequestContext.contextPath}/index.html">INSPECTORS</a></div>
					
					<#if Session?? && Session.userName??>
						<div class="leftNavWelcomeText" style="margin-top: 15px">WELCOME ${Session.userName?upper_case}</div>
						<div class="leftNavLink" style="margin-top: 20px"><a href="${springMacroRequestContext.contextPath}/inspector/inspections.html">INSPECTIONS</a></div>
						<div class="leftNavLink" style="margin-top: 10px"><a href="${springMacroRequestContext.contextPath}/inspector/reports/main.html">REPORTS</a></div>
						<div class="leftNavLink" style="margin-top: 10px"><a href="${springMacroRequestContext.contextPath}/inspector/settings.html">COMPANY SETTINGS</a></div>
						<div class="leftNavLink" style="margin-top: 20px"><a href="${springMacroRequestContext.contextPath}/logout.html">LOG OUT</a></div>
					<#else>
						<div class="leftNavLink" style="margin-top:25px; margin-bottom: 1px;">INSPECTOR LOG IN</div>
						
						<form action="${springMacroRequestContext.contextPath}/login.html" method="post">
							<input type="text" name="userName" class="leftNavInput" />
							<div class="leftNavLoginFormLabel">username</div>
							
							<input type="password" name="password" class="leftNavInput"/>
							<div class="leftNavLoginFormLabel">password</div>
							
							<input type="image" value="submit" src="${springMacroRequestContext.contextPath}/images/leftNav/button-submit.gif" style="width: 55px; height: 22px; margin-top: 10px; border: 0;"/>
						</form>
						
						<div class="leftNavLink" style="margin-top:25px;"><a href="${springMacroRequestContext.contextPath}/forgotPassword.html">FORGOT PASSWORD?</a></div>
						<div class="leftNavLinkSubText"><a href="${springMacroRequestContext.contextPath}/forgotPassword.html">click here</a></div>
					
						<div class="leftNavLink" style="margin-top:18px;"><a href="${springMacroRequestContext.contextPath}/register.html">NOT REGISTERED?</a></div>
						<div class="leftNavLinkSubText"><a href="/register.html">register here</a></div>
					</#if>

					<div class="leftNavLink" style="margin-top:30px;"><a href="${springMacroRequestContext.contextPath}/learnMore.html">LEARN MORE</a></div>
					<div class="leftNavLink" style="margin-top:30px; margin-bottom: 30px;"><a href="${springMacroRequestContext.contextPath}/support.html">SUPPORT</a></div>

					<#if !(Session?? && Session.userName??)>
						<div class="leftNavHeader" style="margin-top: 45px">HOMEBUYERS</div><br />
						<div class="leftNavLink" style="margin-top:10px; margin-bottom: 30px;"><a href="${springMacroRequestContext.contextPath}/searchInspectors.html">FIND INSPECTOR</a></div>
					</#if>
					<!-- /Left Nav -->
				</td>
				<td background="${springMacroRequestContext.contextPath}/images/interface/bg-border-middle.gif" rowspan="2" class="defaultInterfaceBorder"></td>
				<td valign="top">
<#-- end copy from default/top.ftl -->
${body}

<#-- begin copy from default/bottom.ftl -->
<#---
  This page should really be upgraded to use html 4-compliant standards.  
  I've had to add hacks like display:block in every image to support the proper DOCTYPE... 
--->	  			
	  			
	  				<!-- end main content cell -->
					<div class="legal">2009 Inspector Time, Inc.</div>
			
				</td>
				<td background="${springMacroRequestContext.contextPath}/images/interface/bg-border-rt.gif" valign="bottom" rowspan="2" class="defaultInterfaceBorder"><img src="${springMacroRequestContext.contextPath}/images/interface/bg-roof-vrt.gif" style="display: block;"/></td>
			</tr>
			<tr>
				<td align="right" valign="bottom" id="defaultInterfaceRoof"><img src="${springMacroRequestContext.contextPath}/images/interface/roof.gif" style="display: block;"  /></td>
			</tr>
			<tr class="defaultInterfaceBorder">
				<td><img src="${springMacroRequestContext.contextPath}/images/interface/corner-botLft.gif" style="display: block;"/></td>
				<td background="${springMacroRequestContext.contextPath}/images/interface/bg-border-bot.gif" align="right"></td>
				<td><img src="${springMacroRequestContext.contextPath}/images/interface/corner-botMiddle.gif" style="display: block;"/></td>
				<td background="${springMacroRequestContext.contextPath}/images/interface/bg-border-bot.gif" align="right"><img src="${springMacroRequestContext.contextPath}/images/interface/bg-roof-hrz.gif" style="display: block;"/></td>
				<td><img src="${springMacroRequestContext.contextPath}/images/interface/corner-botRt.gif" style="display: block;"/></td>
			</tr>
		</table>
		<!--  End two-line border table -->
		
	</div>
	<!--  End Outer blue border -->
<#-- end copy from default/bottom.ftl -->
</body>
</html>
